home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / text / hyper / ADtoHT2_1.lha / Source.lha / MyLib.lha / amiga / datapointertointeger.doc < prev    next >
Encoding:
Text File  |  1995-01-01  |  480 b   |  23 lines

  1. MyLib.lib/PointerToInt                                      MyLib/PointerToInt
  2.  
  3.     NAME
  4.     PointerToInt - convert data pointer to integer
  5.  
  6.     SYNOPSIS
  7.     Integer = PointerToInt(void *Pointer)
  8.  
  9.     long = PointerToInt(void *);
  10.  
  11.     FUNCTION
  12.     This function can be used to convert a pointer to an
  13.     integer number.
  14.  
  15.     INPUTS
  16.     Pointer - the pointer to convert
  17.  
  18.     RESULTS
  19.     Integer - the integer representation of the pointer
  20.  
  21.     NOTE
  22.     This function cannot be used for function pointers
  23.